﻿/****************************************************
	文件：ScriptTemplateData.cs
	作者：HuskyT
	邮箱：1005240602@qq.com
	日期：2021/07/03 13:26:05
	功能：脚本模板数据项
*****************************************************/

using System.Collections.Generic;
using UnityEngine;

namespace HTFramework.Utility.Editor
{
    /// <summary>
    /// 单个脚本模板数据项
    /// </summary>
    [CreateAssetMenu(fileName = "ScriptTemplateDataItem", menuName = "HTFramework/Utility/ScriptTemplateDataItem",
        order = 2)]
    public class ScriptTemplateDataItem : ScriptableObject
    {
        [Header("Using")] public List<string> UsingList = new List<string>() {"System", "UnityEngine"};

        [Header("命名空间")] public string NameSpace = "HTFramework";

        [Header("是否继承自 MonoBehaviour")] public bool IsMono = true;

        [Header("继承自")] public string Inherit = "";

        [Header("方法")] public List<FuncData> FuncList = new List<FuncData>();
    }
}